//
//  UILabel+XHHAddition.m
//  XHH_ZFB
//
//  Created by xiaohuihui on 9/15/16.
//  Copyright © 2016 xiaohuihui. All rights reserved.
//

#import "UILabel+XHHAddition.h"

@implementation UILabel (XHHAddition)
+ (instancetype)XHH_labelWithText:(NSString *)text fontSize:(CGFloat)fontSize color:(UIColor *)color {
    UILabel *label = [[UILabel alloc] init];
    label.text = text;
    label.font = [UIFont systemFontOfSize:fontSize];
    label.textColor = color;
    
    return label;
}

@end
